﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Web
{
    public partial class index1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!this.IsPostBack)
            {
                DataModel.daProduct da = new DataModel.daProduct();
                DataModel.dsProduct cat = da.GetAllCat();
                this.cat_product.DataSource = cat.catproduct;
                this.cat_product.DataBind();
            }
        }
    }
}